package com.slipper.sfts.api.member.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.member.bo.MemberAccountBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 会员账号信息表
 * 
 * @date 2024-01-14 22:22:15
 */
@ServiceClient
public interface IMemberAccountSv {
    @FeignRequestMapping("/memberAccount/queryBy")
    Result<MemberAccountBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/memberAccount/queryList")
    Result<List<MemberAccountBO>> queryList(@RequestBody MemberAccountBO bo);

    @FeignRequestMapping("/memberAccount/queryPage")
    Result<List<MemberAccountBO>> queryPage(@RequestBody MemberAccountBO bo);

    @FeignRequestMapping("/memberAccount/save")
    Result<?> save(@RequestBody MemberAccountBO bo);
    
    @FeignRequestMapping("/memberAccount/delete")
    Result<?> delete(@RequestBody MemberAccountBO bo);
}
